package com.jshop.common;


import com.jshop.common.exception.ApiRRException;

/**
 * @author jon
 * @date 2019-09-30 10:15
 */
public class AssertUtils {

    public static  void checkNull(Object object, String msg){
        if (object==null){
            throw new ApiRRException(msg);
        }
    }
}
